package com.zhihaihe.file.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhihaihe.file.dto.file.DownloadFileDTO;
import com.zhihaihe.file.dto.file.UploadFileDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 */
public interface IFiletransferService  {
     void uploadFile(HttpServletRequest request, UploadFileDTO uploadFileDto, Long userId);

     void downloadFile(HttpServletResponse httpServletResponse, DownloadFileDTO downloadFileDTO);

     Long selectStorageSizeByUserId(Long userId);
}
